<?php
/**
 * Role Control
 * milloc
 * 2018-4-20
 */
namespace app\models;

use app\models\db\Role;

class RoleExt
{
	/**
	 * 获取角色列表
	 * @return array
	 * @author milloc
	 * @date   2018-04-25
	 */
	public static function getRoleList()
	{
		return Role::find()->where(['is_deleted' => Role::IS_DELETED_NO])->asArray()->all();
	}
}